package J11_9.J11_8.operation;

import J11_9.J11_8.book.BookList;

public class ShowBook implements IOperation {

    @Override
    public void work(BookList bookList){

        System.out.println("显示图书");

        for (int i = 0; i < bookList.getBookCount(); i++) {
            System.out.println(bookList.getBooks(i));
        }
    }
}
